import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import TestCopy from 'src/components/testCopy/testCopy'
import Cache from 'src/components/Cache/Cache'
import TestCss from 'src/components/testCss/testCss'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      redirect: '/welcome'
    },
    {
      path: '/welcome',
      component: HelloWorld
    },
    {
      path: '/testCopy',
      component: TestCopy
    },
    {
      path: '/testCss',
      component: TestCss
    },
    {
      path: '/cache',
      component: Cache
    }
  ]
})
